package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.MembershipLevels;
import com.example.mall.dto.MembershipLevelsDto;
import com.example.mall.query.MembershipLevelsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 会员等级表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IMembershipLevelsService extends IService<MembershipLevels> {

    //分页查询会员等级表信息
    PageDTO<MembershipLevelsDto> queryPage(MembershipLevelsQuery membershipLevelsQuery);

    //根据id查询会员等级表信息
    MembershipLevels queryMembershipLevelsById(Long levelId);

    //查询全部会员等级表信息
    List<MembershipLevels> queryMembershipLevelsList();

    //新增会员等级表
    void insert(MembershipLevelsDto membershipLevelsDto);
    //修改会员等级表信息
    void update(MembershipLevelsDto membershipLevelsDto);
    //删除会员等级表信息
    void delete(Long levelId);
    //批量删除会员等级表信息
    void deleteBatch(List<Long> levelIds);
}
